package com.itjavas.cslp2.mapper;

import com.itjavas.cslp2.pojo.entity.Record;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface RecordMapper {
    //添加选课记录
    @Insert("insert into select_course (course_id,user_id) values (#{courseId},#{userId})")
    Boolean addRecord(Record record);


}
